$.package(
"bottle/lib/tmplcommon.js",
[

],
function(ay)
{
var $=ay,
al=QMWin;



al.createLib(
"PLP.TmplCommon",

{bStatic:true},

function(av)
{


var aS=al.path("img"),
bk=al.sid(),

cIl=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<p>\u62b1\u6b49\uff0c\u60a8\u4eca\u5929\u7684\u6e14\u7f51\u7528\u5b8c\u4e86\u3002</p>',
'</div>',
'<div class="dialog_confirm">',
'$@$if(!$plpfrom$||$plpfrom$=="webmail")$@$',
'<a ck="clk" href="/cgi-bin/readtemplate?t=compose_postcard&tmpId=daodao_$@$if($number$==9)$@$09$@$else if($number$==10)$@$10$@$endif$@$&loc=bottle,postcard,,$number$&sid=',bk,'" class="btn" name="y">\u53d1\u6f02\u6d41\u74f6\u660e\u4fe1\u7247</a>',
'$@$endif$@$'
]),

cGo=al.TE([
'$@$if($magicid$==-1)$@$',
'<p>\u8c22\u8c22\u60a8\u54e6\uff0c\u597d\u5fc3\u4eba\uff0c\u6211\u56de\u6d77\u91cc\u627e\u5988\u5988\u53bb\u54af\u3002</p>',
'$@$else if($magicid$==-2)$@$',
'<p>\u554a\u54e6\uff0c\u5b83\u6162\u60a0\u60a0\u7684\u722c\u56de\u6d77\u91cc\u4e86\u3002</p>',
'$@$else if($magicid$==-3)$@$',
'<p>\u6069\u4eba\uff0c\u597d\u4eba\u4f1a\u4e00\u751f\u5e73\u5b89\u7684\u54e6\uff01</p>',
'$@$else$@$',
'<p>\u8c22\u8c22\u60a8\u54e6\uff0c\u597d\u5fc3\u4eba\uff0c\u6211\u56de\u6d77\u91cc\u627e\u5988\u5988\u53bb\u54af\u3002</p>',
'$@$endif$@$'
]),

csY=al.T([
'<div id="salvage" style="display:none;position:absolute;width:266px;height:171px;">',
'<img src="',aS,'spacer.gif" class="salvage_water" id="drip" style="position:absolute;top:-34px;left:-50px;width:194px;height:206px;" alt=""/>',
'<img src="$salvage$" id="salvage_image" style="position:absolute;left:-41px;top:-42px;" alt=""/>',
(QMWin.isBrowser("ie6")?
'<img src="'+aS+'bottle/magic/salvage_ie6.png" id="salvage_net" style="position:relative;display:none;width:100%;height:100%;"  alt=""/>':
'<img src="'+aS+'bottle/magic/salvage.png" id="salvage_net" style="position:relative;display:none;width:100%;height:100%;" alt=""/>'),
'</div>'
]),
crN=al.TE([
'$@$if($name$=="\u4e00\u53ea\u5927\u8783\u87f9")$@$',
'<p class="singleline">\u54c7\uff0c\u597d\u5927\u4e00\u53ea\u8783\u87f9\u3002',

'$@$else if($name$=="\u4e00\u53ea\u6d77\u661f")$@$',
'<p class="singleline">\u54a6\uff0c\u635e\u5230\u4e00\u53ea\u6d77\u661f\u54e6\u3002',

'$@$else$@$',
'<p class="singleline">\u9c7c\u513f\u9c7c\u513f\u6c34\u4e2d\u6e38\uff0c\u6e38\u6765\u6e38\u53bb\u4e50\u60a0\u60a0\u3002',

'$@$endif$@$',
'<a class="link_white" href="#" ck="clk" name="cls" magicid="$magicid$">\u653e\u751f</a>',
'$@$if($fnum$>0)$@$',
'&nbsp;\u6216&nbsp;<a class="link_white" href="#" ck="clk" name="rty">\u518d\u635e\u635e\u770b</a>',
'$@$endif$@$',
'</p>',
'</div>',



'<div>'
]),


cyK=al.TE([
'$@$if($magicid$==1000)$@$',
'<p class="singleline">\u635e\u5230\u4e00\u4e2a\u7a7a\u74f6\u5b50\u3002</p>',
'$@$else$@$',
'<p class="singleline">\u635e\u5230\u4e00\u4e2a',
'$@$if($magicid$==0)$@$',
'\u666e\u901a\u74f6',
'$@$else if($magicid$==1)$@$',
'\u5b9a\u5411\u74f6',
'$@$else if($magicid$==2)$@$',
'\u7167\u7247\u74f6',
'$@$else if($magicid$==3)$@$',
'\u666e\u901a\u74f6',
'$@$else if($magicid$==4)$@$',
'\u63d0\u95ee\u74f6',
'$@$else if($magicid$==5)$@$',
'\u795d\u613f\u74f6',
'$@$else if($magicid$==6)$@$',
'\u53d1\u6cc4\u74f6',
'$@$else if($magicid$==7)$@$',
'\u771f\u8bdd\u74f6',
'$@$else if($magicid$==8)$@$',
'\u4ea4\u5f80\u74f6',
'$@$else if($magicid$==9)$@$',
'\u4f20\u9012\u74f6',
'$@$else if($magicid$==12)$@$',
'\u751f\u65e5\u74f6',
'$@$else if($magicid$==13)$@$',
'\u5fc3\u60c5\u74f6',
'$@$else if($magicid$==14)$@$',
'\u5fc3\u60c5\u74f6',
'$@$else if($magicid$==15)$@$',
'\u5fc3\u60c5\u74f6',
'$@$else if($magicid$==16)$@$',
'\u5b9a\u5411\u74f6',
'$@$else if($magicid$==17)$@$',
'\u5b9a\u5411\u74f6',
'$@$endif$@$',
' <a  class="link_white" href="#" ck="clk" name="read" mailid="$mailid$">\u6253\u5f00\u770b\u770b</a><a href="javascript:;" class="tips_close" onclick="QMWin.Q(\'div#weaktip\').hide()"></a></p>',
'$@$endif$@$'
]),


cvd=al.TE([
'<p class="bold">\u6dfb\u52a0\u5907\u6ce8</p>',

'<input type="text" class="remark border input_alias" maxlength="10" value="$beachname$" />',
'<div class="dialog_confirm" style="margin-top:0;"><a name="mark" beachname="$beachname$" mailid="$mailid$" ck="clk" href="#" class="btn">\u786e\u8ba4</a><a name="cancel" ck="clk" href="#" class="btn_minor" beachname="$beachname$" mailid="$mailid$">\u8df3\u8fc7</a><a class="btn_minor" href="#" name="cls" ck="clk">\u53d6\u6d88</a></div>'
]),



chE=al.T([
'<p style="font:bold 14px Verdana;">\u74f6\u5b50\u5df2\u6210\u529f\u6254\u56de\u5927\u6d77\u3002</p>',
'</div>',
'<div class="dialog_confirm">',
'<a class="btn" href="#" ck="clk">\u5173\u95ed</a>'
]),


cmJ=al.T([
'<p>\u6b63\u5728\u6f02\u56de\u5927\u6d77...</p>'
]),

cyZ=al.T([
'<p>\u6b63\u5728\u6dfb\u52a0...</p>'
]),

crS=al.T([
'<p>\u6b63\u5728\u4e3e\u62a5...</p>'
]),


cEQ=al.TE([
'\u6b63\u5728\u6d77\u91cc\u635e\u74f6\u5b50...'
]),


cAi=al.TE([
'\u6b63\u5728\u53d1\u9001\u74f6\u5b50\u7684\u56de\u5e94...'
]),


cGb=al.TE([
'<div>',
'<img id="bottlePng" src="',aS,'bottle/magic/salvage$@$if($magicid$==3)$@$0$@$else$@$$magicid$$@$endif$@$.png" style="position:absolute;left:350px;top:230px;width:188px;height:269px;" alt="" />',
'</div>'
]),


cDT=al.TE(
"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand',FilterType='nearest neighbor',M11=$cos$,M12=$sin$,M21=$@$eval -$sin$$@$,M22=$cos$)"
),


clA=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<div class="bottle_Exchange">',
'<div class="p bold" un="resulttip">\u60a8\u4eca\u5929\u7684\u6e14\u7f51\u5df2\u7ecf\u7528\u5b8c\uff0c</div>',
'<div class="p bold">\u60a8\u73b0\u5728\u7684\u79ef\u5206\u662f<em class="point normal">$point$</em>\u5206\u3002</div>',
'<div class="p bold"><span class="left">\u5151\u6362\uff1a</span>',
'<div class="qm_select">',
'<div class="select_div bg1" ck="showpoint"><img ck="showpoint" align="absmiddle" src="/zh_CN/htmledition/images/webqqshow_on.gif"></div>',
'<div value="" class="select_content" un="point" ck="showpoint" tabindex="0" hidefocus="true">$changetime$</div>',
'<div class="qmpanel_shadow qmpanel_shadow_female calformat" un="pointlist" isscroll="0" lastscroll="0">',
'$@$for($items$)$@$',
'$@$sec items$@$',
'<p class="menu_item" mor="qmpanelover" mot="qmpanelout" ck="setpoint" value="$value$">$value$</p>',
'$@$endsec$@$',
'$@$endfor$@$',
'</div>',
'</div>',
'<span>\u6b21</span><span class="f_size normal intro">(1\u5206\u5151\u63621\u6b21\u635e\u74f6\u673a\u4f1a\uff0c\u5f53\u65e5\u6709\u6548\u3002<a target="_blank" href="http://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1000745&&id=20014" class="link_white underline">\u8be6\u60c5</a>)</span>',
'</div>',

'<div class="submitPanel" un="btndiv">',
'<a class="btn btn_l" ck="chgpoint">\u5151\u6362</a>',
'</div>',
'<div class="submitPanel" style="display:none;" un="loading">',
'<a class="btn btn_l b_size opacity5" style="font-size:14px;">\u5151\u6362\u4e2d...</a>',
'</div>',
'</div>'

]),

csg=al.TE([
"<p>\u60a8\u5df2\u6210\u529f\u5151\u6362$point$\u5206</p>"
]),

cFt=al.TE([
'<div class="numBg numExchange" un="newpoint"><p>+$point$</p></div>'
]),

cKL=al.T([
"\u79ef\u5206\u5151\u6362\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5"
]),

Mk=al.TE([
'<div class="set_position">',
'<div class="qm_select set_country" bind="country_qmpanel_shadow">',
'<div class="select_div bg1" hidefocus="true">',
'<img align="absmiddle" src="',aS,'webqqshow_on.gif">',
'</div>',
'<div tabindex="0" name="\u4e2d\u56fd" next="country_qmpanel_shadow" hidefocus="true" class="select_content" num="0">\u4e2d\u56fd</div>',
'<div ck="chgcountry" id="country_qmpanel_shadow" class="qmpanel_shadow country_qmpanel_shadow" style="display: none;"  onscroll="this.setAttribute(\'isscroll\', parseInt(this.getAttribute(\'isscroll\'))+1);" isscroll="0" lastscroll="0" ><p name="\u4e2d\u56fd" mot="qmpanelout" mor="qmpanelover" class="menu_item" num="0">\u4e2d\u56fd</p></div>',
'</div>',
'<div class="qm_select set_province" bind="province_qmpanel_shadow" ck="showinfo">',
'<div class="select_div bg1"  hidefocus="true">',
'<img align="absmiddle" src="',aS,'webqqshow_on.gif">',
'</div>',
'<div tabindex="0" name="" province="true" next="province_qmpanel_shadow" hidefocus="true" class="select_content">\u8bf7\u9009\u62e9</div>',
'<div onscroll="this.setAttribute(\'isscroll\', parseInt(this.getAttribute(\'isscroll\'))+1);" isscroll="0" lastscroll="0" ck="chgprovince" id="province_qmpanel_shadow" class="qmpanel_shadow province_qmpanel_shadow"><p name="\u5317\u4eac" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5317\u4eac</p><p name="\u5929\u6d25" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5929\u6d25</p><p name="\u6cb3\u5317" mot="qmpanelout" mor="qmpanelover" class="menu_item" num="">\u6cb3\u5317</p><p name="\u5c71\u897f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5c71\u897f</p><p name="\u5185\u8499\u53e4" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5185\u8499\u53e4</p><p name="\u6c5f\u82cf" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6c5f\u82cf</p><p name="\u5b89\u5fbd" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5b89\u5fbd</p><p name="\u5c71\u4e1c" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5c71\u4e1c</p><p name="\u8fbd\u5b81" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u8fbd\u5b81</p><p name="\u5409\u6797" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5409\u6797</p><p name="\u9ed1\u9f99\u6c5f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u9ed1\u9f99\u6c5f</p><p name="\u4e0a\u6d77" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u4e0a\u6d77</p><p name="\u6d59\u6c5f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6d59\u6c5f</p><p name="\u6c5f\u897f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6c5f\u897f</p><p name="\u798f\u5efa" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u798f\u5efa</p><p name="\u6e56\u5317" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6e56\u5317</p><p name="\u6e56\u5357" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6e56\u5357</p><p name="\u6cb3\u5357" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6cb3\u5357</p><p name="\u5e7f\u4e1c" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5e7f\u4e1c</p><p name="\u5e7f\u897f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5e7f\u897f</p><p name="\u6d77\u5357" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6d77\u5357</p><p name="\u91cd\u5e86" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u91cd\u5e86</p><p name="\u56db\u5ddd" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u56db\u5ddd</p><p name="\u8d35\u5dde" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u8d35\u5dde</p><p name="\u4e91\u5357" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u4e91\u5357</p><p name="\u897f\u85cf" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u897f\u85cf</p><p name="\u9655\u897f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u9655\u897f</p><p name="\u7518\u8083" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u7518\u8083</p><p name="\u5b81\u590f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u5b81\u590f</p><p name="\u9752\u6d77" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u9752\u6d77</p><p name="\u65b0\u7586" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u65b0\u7586</p><p name="\u9999\u6e2f" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u9999\u6e2f</p><p name="\u6fb3\u95e8" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u6fb3\u95e8</p><p name="\u53f0\u6e7e" mot="qmpanelout" mor="qmpanelover" class="menu_item">\u53f0\u6e7e</p></div>',
'</div>',
'<div bind="city_qmpanel_shadow" ck="showinfo" class="qm_select set_city" display="">',
'<div class="select_div bg1" tabindex="0" hidefocus="true">',
'<img align="absmiddle" src="',aS,'webqqshow_on.gif">',
'</div>',
'<div tabindex="0" name="" next="city_qmpanel_shadow" hidefocus="true" class="select_content">\u8bf7\u9009\u62e9</div>',
'<div ck="chgcity" onscroll="this.setAttribute(\'isscroll\', parseInt(this.getAttribute(\'isscroll\'))+1);" isscroll="0" lastscroll="0" id="city_qmpanel_shadow" class="qmpanel_shadow city_qmpanel_shadow" style="display: none;" ></div>',
'</div>',
'<div class="qm_select detailAddr">',
'<a id="ico_clrSearchPick" class="icon ico_clrSearch right" ck="clsSearchKeyWord" title="\u6e05\u7a7a\u4e4b\u540e\u53ef\u4e0d\u9650\u5730\u5740"></a>',
'<input class="" id="searchAddressInput" un="searchtip" type="text" maxlength="16" />',
'<div id="searchtipcontainer" class="searchtipcontainer qmpanel_shadow city_qmpanel_shadow" style="display:none;"></div>',
'</div>',
'<div class="clr"></div>',
'</div>'
]),

aIm=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls" name="cls"></a>',
'<div class=" bottle_fetch_position">',
'<div class="p bold">\u6211\u60f3\u635e\u8fd9\u91cc\u7684\u74f6\u5b50\uff1a</div>',
Mk,
'<div class="p introlist normal opacity8">',
'<div><strong>\u8bf4\u660e\uff1a</strong></div>',
'<ul>',
'<li class="f_size">\u60a8\u53ef\u4ee5\u6307\u5b9a\u7701\u5e02\u6216\u8be6\u7ec6\u5730\u5740\uff0c\u5982\u67d0\u67d0\u533a\u67d0\u67d0\u8def</li>',
'<li class="f_size" un="cutpointtip">\u6210\u529f\u635e\u53d6\u5c06\u6d88\u80171\u4e2a\u79ef\u5206</li>',
'</ul>',
'</div>',

'<div class="submitPanel">',
'<a class="btn btn_l" href="#" ck="clk" name="yes">\u635e\u635e\u770b</a>',

'</div>',
'</div>',
'<div id="searchAddressTest" >'
]),

dyY=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<div class=" bottle_fetch_choose">',
'<ul class="">',
'<li class=""><a class="item fetch_person bor4" ck="pick"><span class="icon icon_fetch_person" ck="pick"></span>\u6211\u60f3\u635e\u7684\u5bf9\u8c61<span class="icon icon_next" ck="pick"></span></a></li>',
'<li class=""><a class="item fetch_position $@$if($point$==0)$@$ $@$endif$@$" $@$if($point$>0)$@$ ck="pos" $@$endif$@$><span class="icon icon_fetch_position" ck="pos"></span>\u6211\u60f3\u635e\u7684\u6d77\u57df<span class="icon icon_next" ck="pos"></span></a></li>',
'</ul>',
'</div>',






]),


dgc=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<div class=" bottle_fetch_person">',
'<div class="p bold">\u6211\u60f3\u635e\u5230\u7684\u662f\uff1a</div>',
'<div class="p bold $@$if($sex$==\"man\")$@$current$@$endif$@$">',
'<input id="manradio" type="radio" ck="setsex" sex="man" un="sex" $@$if($sex$=="man")$@$ checked=true selected="true"$@$endif$@$/><label for="manradio" ck="setsex" sex="man">\u7537\u751f<span class="normal f_size intro opacity8" un="cutpointtip"></span></label></div>',
'<div class="p bold $@$if($sex$==\"lady\")$@$current$@$endif$@$ $@$if($banlady$)$@$opacity5$@$endif$@$">',
'<input id="ladyradio" type="radio" ck="setsex" sex="lady" un="sex" $@$if($sex$=="lady")$@$ checked=true selected=true$@$endif$@$ $@$if($banlady$)$@$disabled=true$@$endif$@$/><label for="ladyradio" ck="setsex" sex="lady">\u5973\u751f<span class="normal f_size intro opacity8" un="cutpointtip">(\u635e\u53d6\u6210\u529f\u5c06\u6d88\u80171\u4e2a\u79ef\u5206)</span><span class="normal f_size intro_point opacity8" style="display:none;" un="banladytip">(\u60a8\u7684\u79ef\u5206\u4f4e\u4e8e1\u5206)</span></label></div>',
'<ul class="friendsChoose $@$if($sex$=="man")$@$ current $@$endif$@$" un="man">',
'<li class="rightSide $@$if($agetype$==2&&$sex$=="man")$@$checked$@$endif$@$" ck="setage" age="6"><a ck="setage" href="#" class=""><div class="ico_friend ico_man_m" ck="setage"></div><h4 ck="setage">\u6210\u719f\u7537\u751f</h4></a><div class="icon ico_checked_big"></div></li>',
'<li class="leftSide $@$if($agetype$==0&&$sex$=="man")$@$checked$@$endif$@$" ck="setage" age="4"><a ck="setage" href="#" class=""><div class="ico_friend ico_lovely_m" ck="setage"></div><h4 ck="setage">\u5c0f\u6b63\u592a</h4></a><div class="icon ico_checked_big"></div></li>',
'<li class="middle $@$if($agetype$==1&&$sex$=="man")$@$checked$@$endif$@$" ck="setage" age="5"><a  ck="setage" href="#" class=""><div class="ico_friend ico_youngBoy_m" ck="setage"></div><h4 ck="setage">\u9b45\u529b\u5c11\u5e74</h4></a><div class="icon ico_checked_big"></div></li>',
'</ul>',
'<ul class="friendsChoose $@$if($sex$=="lady")$@$ current $@$endif$@$" un="lady">',
'<li class="rightSide $@$if($agetype$==2&&$sex$=="lady")$@$checked$@$endif$@$" ck="setage" age="3" ><a ck="setage"  href="#" class=""><div class="ico_friend ico_woman_m" ck="setage"></div><h4 ck="setage">\u77e5\u6027\u719f\u5973</h4></a><div class="icon ico_checked_big"></div></li>',
'<li class="leftSide $@$if($agetype$==0&&$sex$=="lady")$@$checked$@$endif$@$" ck="setage" age="1" ><a ck="setage" href="#" class=""><div class="ico_friend ico_loli_m" ck="setage"></div><h4 ck="setage">\u5c0f\u841d\u8389</h4></a><div class="icon ico_checked_big"></div></li>',
'<li class="middle $@$if($agetype$==1&&$sex$=="lady")$@$checked$@$endif$@$" ck="setage" age="2"><a ck="setage" href="#" class=""><div class="ico_friend ico_youngGirl_m" ck="setage"></div><h4 ck="setage">\u82b1\u6837\u5c11\u5973</h4></a><div class="icon ico_checked_big"></div></li>',
'</ul>',
'<div un="" class="submitPanel"><a ck="gopick" class="btn btn_l $@$if(!$ok$)$@$btn_disable $@$endif$@$">\u635e\u635e\u770b</a></div>',
'</div>'
]),

dwP=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<div class="news_notice ">',
'<span>\u7b26\u5408\u6761\u4ef6\u7684\u74f6\u5b50\u5df2\u88ab\u635e\u5149\u4e86!</span>',
'<div class="submitPanel">',
'<a class="btn" ck="send">\u6211\u53bb\u6254\u4e00\u4e2a</a>',
'</div>',
'</div>'
]),

dqb=al.TE([
'<a class="ico_close_circle_blue" href="#" ck="cls"></a>',
'<div class="push_friend">',
'<div class="p bold">\u60a8\u4eca\u5929\u7684$@$if($pick$)$@$\u6e14\u7f51$@$else$@$\u74f6\u5b50$@$endif$@$\u5df2\u7ecf\u7528\u5b8c\u5566\uff0c\u60a8\u8fd8\u6709\u74f6\u53cb\u6b63\u5728</div>',
'<div class="p bold">\u6d77\u6ee9\u91c7\u96c6\u74f6\u5b50\u54e6\uff0c\u5feb\u7ed9TA\u6253\u4e2a\u62db\u547c\u5427\uff01</div>',
'<div class="p bold push_item">',
'<div><img src=$icon$ class="avator" ck="read" mailid="$mailid$" alt=""/></div><div class="nickname opacity8">$name$</div>',
'</div>',
'<div class="submitPanel"><a class="btn btn_l" href="#" ck="read" mailid="$mailid$">\u6253\u4e2a\u62db\u547c</a></div>',
'</div>'
]),

cXv=al.TE([
'<div class="bottle_pannel bg1 bor1 changeSencePannel" ku="keyupmovesence" tabindex="0" hidefocus="">',
'<a class="icon ico_close_square" href="#" ck="cls"></a>',
'<div class="bottle_bar bottle_title receivebottleTitle"><div class="infoContent infotext"><h1>\u5207\u6362\u573a\u666f</h1></div></div>',
'<div class="pannel_content ">',
'<div class="clr"></div>',
'<div class="readContentAll bor5">',
'<div class="allwrap">',
'<div class="changeSenceBox sence_skin$nowpage$">',
'<div class="changeSencePreview "></div>',
'<div class="loading ico_loading" style="display:none;" un="savesenceloading">',
'<img alt="\u6570\u636e\u52a0\u8f7d\u4e2d..." src="',aS,'ico_loading2.gif">',
'<p class="f_size graytext">\u6b63\u5728\u4fdd\u5b58\u8bbe\u7f6e...</p>',
'</div>',
'<a class="switchPre" title="\u70b9\u51fb\u67e5\u770b\u4e0a\u4e00\u4e2a\u573a\u666f" hidefocus="" href="#" ck="movesence" direction="left"><span class="switchArrow"></span></a>',
'<a class="switchNext" title="\u70b9\u51fb\u67e5\u770b\u4e0b\u4e00\u4e2a\u573a\u666f" hidefocus="" href="#" ck="movesence" direction="right"><span class="switchArrow"></span></a>',
'</div>',
'</div>',
'</div>',
'<div class="operaPannel">',
'<div class="bottle_bar send_toolbar right"><a tmpck="savesence" class="btn" ck="savesence">\u4fdd\u5b58\u573a\u666f</a></div>',
'<div style="" class="pageSwitch left" un="chgpage" nowpage="$nowpage$">',
'<a hidefocus="" class="icon icon_pre left" href="#"  ck="movesence" direction="left"></a>',
'<div class="pageStatus" ck="selectsence">',
'<a class="icon pageCircle $@$if($nowpage$==0)$@$pageActive$@$else$@$pageInactive$@$endif$@$" page="0" href="#"></a>',
'<a class="icon pageCircle $@$if($nowpage$==1)$@$pageActive$@$else$@$pageInactive$@$endif$@$" page="1" hidefocus="" href="#"></a>',
'<a class="icon pageCircle $@$if($nowpage$==2)$@$pageActive$@$else$@$pageInactive$@$endif$@$" page="2" hidefocus="" href="#"></a>',
'</div>',
'<a hidefocus="" class="icon icon_next left" href="#" ck="movesence" direction="right"></a>',



'</div>',

'</div>',
'</div>',
'</div>',
]),


cWN=al.TE([
'<p>\u4f7f\u7528\u300a\u76ae\u80a4\u540d\u5b57\u300b\u8fd9\u5957<br/>\u573a\u666f\uff0c\u5c06\u6d88\u80175\u4e2a\u79ef\u5206\u3002</p>',
'<div class="dialog_confirm">',
'<a href="#" ck="clk" name="y" class="btn">\u786e\u5b9a</a>',
'<a href="#" ck="clk" name="n" class="btn_minor" style="margin-right:0">\u53d6\u6d88</a>',
'</div>'
]),

dBH=al.TE([
'<p>\u60a8\u5df2\u6210\u529f\u5207\u6362\u5230\u300a$skinname$\u300b\u573a\u666f</p>'
]),

fl=
{

ierot:cDT,
spamimg:crS,
droping:cmJ,
favouring:cyZ,
setRemark:cvd,
dropsuc:chE,
fetch:csY,
fetchsuc:cyK,
fetching:cEQ,
fetcherr:crN,
nofetch:cIl,
savagetip:cGo,
throwBottle:cGb,
rlying:cAi,
changePointTip:clA,
chgpointsuc:csg,
chgpointErr:cKL,
addPoint:cFt,
posTip:aIm,
toolbarTarget:dyY,
sexPick:dgc,
pointpickerr:dwP,
showHistory:dqb,
changesence:cXv,
buyskin:cWN,
chgskinsuc:dBH,
"":null

};

return(
{
get:function(aM)
{
return fl[aM]||"";
}
}
);
}
);
}
);



$.package(


"comm/extend/json.js",


[],


function(ay)
{
var ff="JSON/10.12.27",
aE=$.ctor_();

aE.extend("version",ff);

aE.extend("method",(function()
{
var an=QMWin,
aFL=/["\\\x00-\x1f\x7f-\x9f]/g,
akN={
'\b':'\\b',
'\t':'\\t',
'\n':'\\n',
'\f':'\\f',
'\r':'\\r',
'"':'\\"',
'\\':'\\\\'
};
function aHe(bY)
{
if(bY.match(aFL))
{
return'"'+bY.replace(aFL,function(bR)
{
var pA=akN[bR];
if(typeof pA==='string')return pA;
pA=bR.charCodeAt();
return'\\u00'+Math.floor(pA/16).toString(16)+(pA%16).toString(16);
})+'"';
}
return'"'+bY+'"';
};

return{





toJSON:function(ld,bhb)
{
var ad=this;


if(!bhb&&typeof(JSON)=="object"&&JSON.stringify)
{
try
{

return JSON.stringify(ld);
}
catch(e)
{
return ad.toJSON(ld,true);
}
}


if(ld==null)
{
return null;
}
if(an.isFunc(ld))
{
return ay;
}
if(typeof ld=="undefined")
{
return ay;
}
if(an.isNum(ld)||typeof ld=="boolean")
{
return ld+"";
}
if(an.isStr(ld))
{
return aHe(ld);
}
if(an.isArr(ld))
{
var eE=[];
for(var i=0,len=ld.length;i<len;i++)
eE.push(ad.toJSON(ld[i])||"null");

return"["+eE.join(",")+"]";
}
if(an.isObj(ld))
{
if(ld.constructor==Date)
{
return ld+"";
}



var aDC=[];
for(var aM in ld)
{
var alI;
var aP=typeof aM;


if(aM.indexOf("_")==0)
continue;

if(aP=="number")
alI='"'+aM+'"';
else if(aP=="string")
alI=aHe(aM);
else
continue;

if(typeof ld[aM]=="function")
continue;

aDC.push(alI+":"+ad.toJSON(ld[aM]));
}
return"{"+aDC.join(", ")+"}";
}
}
}
}
)());
}


);


$.package(


"comm/extend/storage.js",


[
"comm/extend/json.js"
],


function(ay)
{
var ff="Storage/11.9.16",
an=QMWin,
aE=$.ctor_(),
bSi=/^[_a-z]+[_0-9a-z]*$/i,
aAl="QM_UD_key",
bRC=3,
aSn=function(aM)
{
return bSi.test(aM)&&aAl!=aM;
},
aRV=function(bG,dN)
{
return bG.slice(0,dN).concat(bG.slice(dN+1,bG.length));
},
bNO=function(Zr)
{
var aF="STORAGE_USERDATA_FULL",

nm=an.T("stat=custom&type=$type$&info=$info$&locval=$loc$").replace({
type:aF,
info:Zr,
loc:[aF,Zr].join(",")
});

an.ossLog("delay","all",nm);
};

aE.extend("version",ff);


function biv()
{
if(an.isBrowser("ie")&&typeof window.localStorage!="object"&&!window.userData)
{
window.userData=function()
{
var ad=this,
Jl=",",
aWT="QM_userData";

ad.eb=function()
{
var _oDom=document.createElement("input");

_oDom.type="hidden";

_oDom.addBehavior("#default#userData");

document.body.appendChild(_oDom);
_oDom.save(aWT);

ad.OQ=aWT;
ad.cI=_oDom;

return ad;
};



ad.DQ=function(ly,aM,bP,RK)
{
var _oDom=ad.cI,
aBR=ad.Vb(),
kj=false;

switch(ly)
{
case"get":
ad.aZA(aM,true);
ad.cI.load(ad.OQ);
return ad.cI.getAttribute(aM);
case"set":

if(ad.aZA(aM))
{
try
{
ad.cI.setAttribute(aM,bP);
ad.cI.save(ad.OQ);
kj=true;
}
catch(e)
{

}
}
else
{
debug("userData:item set false");
}

RK&&RK.apply(ad,[kj])
return kj;
case"remove":
ad.aTh(aM);
try
{
ad.cI.removeAttribute(aM);
ad.cI.save(ad.OQ);
kj=true;
}
catch(e)
{

}
return kj;
default:
return kj;
}
};

ad.aBv=function(bR)
{
var bC=ad.Vb(),
fu=-1,
bMg=[Jl,bC.join(Jl),Jl].join("");

if(bMg.indexOf([Jl,bR,Jl].join(""))>-1)
{
for(var i=0,l=bC.length;i<l;i++)
{
if(bC[i]==bR)
{
fu=i;
break;
}
}
}
return fu;
};
ad.bAB=function()
{
return ad.Vb()[0];
};

ad.aZA=function(bR,aZG)
{
var bC=ad.Vb();

if(!aZG||aZG&&ad.cI.getAttribute(bR))
{
var _oDom=ad.cI,
abH=ad.aBv(bR);

if(abH>-1)
{
bC=aRV(bC,abH);
}
bC.push(bR);
}

return ad.aYD(bC.join(Jl));
};

ad.aTh=function(bR)
{
var bC=ad.Vb(),
abH=ad.aBv(bR);

if(abH>-1)
{
return ad.aYD(aRV(bC,abH).join(Jl));
}

return;
};

ad.Vb=function()
{
ad.cI.load(ad.OQ);
var aBW=ad.cI.getAttribute(aAl);
return aBW?aBW.split(Jl):[];
};
ad.aYD=function(bPC)
{
try
{

var _oDom=ad.cI;
_oDom.setAttribute(aAl,bPC);
_oDom.save(ad.OQ);
return true;
}
catch(e)
{
debug("\u5b58\u50a8key\u503c\u51fa\u73b0\u5f02\u5e38\u3002");
}
return false;
};

return ad.eb();
};
window.userData.prototype=
{
setItem:function(k,v,t)
{
var ad=this,
aVa=typeof t!="undefined"?t:bRC,
en=arguments.callee;

ad.DQ("set",k,v,function(bqR)
{
if(bqR)return;
if(aVa>0)
{
var aHs=ad.bAB();
aHs&&ad.removeItem(aHs);
en.apply(ad,[k,v,--aVa]);
}
else
{

ad.aTh(k);

bNO([k,ad.Vb().length].join(","));
}
}
);

return ad.aBv(k)>-1;
},
getItem:function(k)
{
var ad=this;
return ad.DQ("get",k);
},
removeItem:function(k)
{
var ad=this;
return ad.DQ("remove",k);
},
clear:function()
{
var ad=this,
_oDom=ad.cI,
bpT=new Date(an.now()-1);

_oDom.load(ad.OQ);
_oDom.expires=bpT.toUTCString();
_oDom.save(ad.OQ);
}
};
window.LocalStorage=new window.userData();
}
};


aE.extend("method",(function()
{
var an=QMWin,
iq={},
aGv=function(k)
{
return[k,"_",an.uin()].join("");
},
aGk=function()
{
biv();


if(window.LocalStorage)
return window.LocalStorage;
if(typeof window.localStorage=="object")
return window.localStorage;

return({
setItem:function(k,v)
{
debug("temp store");
iq[k]=typeof v=="object"?an.toJSON(v):v;
},
getItem:function(k)
{
debug("temp value");
return iq[k];
},
clear:function()
{
iq={};
}
});
};
return{









setItem:function(k,v)
{
if(!aSn(k))
{
debug("key\u5fc5\u987b\u7b26\u5408DOM\u5c5e\u6027\u8bbe\u7f6e\u89c4\u8303\u3002");
return;
}
try
{
return aGk().setItem(k,typeof v=="object"?an.toJSON(v):v);
}
catch(e)
{

debug("\u672c\u5730\u5b58\u50a8\u5931\u8d25\u3002");
}
return;
},




getItem:function(k)
{
if(!aSn(k))
{
debug("key\u5fc5\u987b\u7b26\u5408DOM\u5c5e\u6027\u8bbe\u7f6e\u89c4\u8303\u3002");
return;
}
try
{
return aGk().getItem(k);
}
catch(e)
{

debug("\u53d6\u503c\u5931\u8d25\u3002");
}

return;
},






setUserItem:function(k,v)
{
return this.setItem(aGv(k),v);
},




getUserItem:function(k)
{
return this.getItem(aGv(k));
}
}
}
)());
}


);


$.package(


"bottle/component/lazyload.js",


[],


function(ay)
{

var ff="LazyLoad/11.8.29",
an=QMWin,
aE=$.ctor_();

aE.extend("version",ff);



aE.extend("method",(function()
{
var an=QMWin,

aj={
oRelativeContainer:an.Q(document),
oSourceContainer:an.Q(document),

nScrollGap:10,
nPageSize:225,
nMaxPageCount:100,
bScrollDirect:true,

bIsDynamicLoad:false,


sSrc:'xSrc',
sLazyflag:'[un=lazyload]',
nTime:300,
nPreLoadSize:4,
nMaxStopTime:10,

bcR:function(cf)
{
var ad=this;

var ait=[];

if(ad.bLastDynamicLoad===true)
{
ad.oSrcLoad=ad.oSourceContainer.find(ad.sLazyflag).data();
ad.oResource=[];
cf=0;
ad.bLastDynamicLoad=false;
}

if(ad.oResource[cf]!==-1)
{
if(typeof ad.oResource[cf]==='undefined')
{
debug('recalute');
ad.bxD.call(ad,cf*ad.nPageSizeCount);
}

ait=ad.oResource[cf];

ad.oResource[cf]=-1;
}

if(ait&&ait.length>0)
{

ad.fListLoading(ait);

ad.fListDownload(ait);

ad.fListLoaded(ait);
}

},

fLoading:function(Ml)
{

},

fDownload:function(Ml)
{
},

fLoaded:function(Ml)
{

},

fListLoading:function(Oo)
{

},

fListDownload:function(Oo)
{
},

fListLoaded:function(Oo)
{

},



dYV:function()
{

},



bqk:function(Ml)
{
var ad=this,
aDY=0,
QM=Ml;

while(QM!=null)
{

aDY+=QM.offsetLeft;
QM=QM.offsetParent;
}

if(ad.nRelativeLeft)
{
aDY=aDY-ad.nRelativeLeft;
}

return aDY;
},

bsx:function(Ml)
{
var ad=this,
aEc=0,
QM=Ml;

while(QM!=null)
{

aEc+=QM.offsetTop;
QM=QM.offsetParent;
}

if(ad.nRelativeTop)
{
aEc=aEc-ad.nRelativeTop;
}

return aEc;
},


ctD:function()
{
var ad=this;

if(ad.oSourceContainer.size()>0)
{

if(ad.bScrollDirect===true)
{
return ad.oSourceContainer.data(0).scrollTop;
}
else
{
return ad.oSourceContainer.data(0).scrollLeft;
}
}

return 0;
},

cen:function(aI)
{
var ad=this,
cnD=ad.bqk(aI),
cwI=ad.bsx(aI);

if(ad.bScrollDirect===true)
{
return parseInt(cwI/ad.nPageSize,10);
}
else
{
return parseInt(cnD/ad.nPageSize,10);
}
},

bxD:function(So)
{

var ad=this,
mf=So+ad.nMaxPageCount;

for(var i=So,l=ad.oSrcLoad.length;i<mf&&i<l;i++)
{
if(ad.bDoHide===true&&fIsHide(ad.oSrcLoad[i])===true)
{
continue;
}


var cf=ad.cen(ad.oSrcLoad[i]);

if(!ad.oResource[cf])
{
ad.oResource[cf]=[];
}

if(ad.oResource[cf]!=-1)
{
ad.oResource[cf].push($.$(ad.oSrcLoad[i]));
}

}

ad.nPageSizeCount=(ad.oResource[0])?ad.oResource[0].length:0;
},


bup:function(cvy)
{
var ad=this;

return parseInt(cvy/ad.nPageSize,10);
}

},

eb=function(aY)
{

aY.bxD(0);



var aO={};
for(var obj in aY)
{
aO[obj]=aY[obj];
}

aO.bIsTimer=false;
aO.nStopCount=0;

aY.oSourceContainer.attr('moCfg',aO).addEvent('scroll',function(){
var ad=$.$(this).attr('moCfg');
ad.nScrollCount++;


ad.nCurScroll=ad.ctD();
ad.nStopCount=0;


if(ad.bIsTimer==false)
{
ad.bIsTimer=true;


ad.dE=setInterval(function(){
if(ad.bup(ad.nCurScroll)!==ad.nPreScrollPage)
{

ad.nPreScrollPage=ad.bup(ad.nCurScroll);
ad.bcR.call(ad,parseInt(ad.nCurScroll/ad.nPageSize,10));
ad.bcR.call(ad,parseInt(ad.nCurScroll/ad.nPageSize,10)+1);
}
else
{
ad.nStopCount++;

if(ad.nStopCount>ad.nMaxStopTime)
{
clearInterval(ad.dE);
ad.bIsTimer=false;
}
}
},ad.nTime);
}

$.$(this).attr('moCfg',ad);

});
aY.bcR(0);

};



var cT=document.createElement("div");
cT.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
var Sy=cT.getElementsByTagName("td"),
dtG=(Sy[0].offsetHeight===0);
Sy[0].style.display="";
Sy[1].style.display="none";
var djc=dtG&&(Sy[0].offsetHeight===0);

var fIsHide=function(Ml)
{
var cQ=Ml.offsetWidth,
dM=Ml.offsetHeight;
return(cQ===0&&dM===0)||(!djc&&(Ml.style.display||$.$(Ml).attr('display'))==="none");

};


return{
createLazyLoad:function(aO)
{
var ad=this;

var aY={};
for(var obj in aj)
{
aY[obj]=aj[obj];
}

for(var obj in aO)
{
aY[obj]=aO[obj];
}

aY.nCurScroll=0;


aY.nRelativeTop=aY.bsx(aY.oRelativeContainer.data(0));

aY.nRelativeLeft=aY.bqk(aY.oRelativeContainer.data(0));


aY.oSrcLoad=aY.oSourceContainer.find(aY.sLazyflag).data();

aY.oResource=[];

eb(aY);
}
}}
)());
}


);


$.package(


"bottle/component/searchtip.js",


[],


function(ay)
{
var ff="Searchtip/11.8.11",
an=QMWin,
aE=$.ctor_();

aE.extend("version",ff);



aE.extend("method",(function()
{
var an=QMWin,
aj={};

return{
cvc:function()
{
var ad=this,
aO=aj,
cFR=aO.bFocusDefault;

aj.oTxtContent.addEvent('focus',aO.fTxtContentOnfocus,{
oContext:aj.oTxtContent
}).addEvent('blur',aO.fTxtContentOnblur,{
oContext:aj.oTxtContent
}).addEvent('keyup',aO.fTxtContentOnkeyup,{
oContext:aj.oTxtContent
});


if(cFR)
{
aO.oSuper.find(aO.sLabelSearch).addEvent("click",function()
{
aO.oTxtContent.focus();
});
}
},

coB:function()
{
var ad=this;

var aO=aj;

aj.oGuessContainer.addEvent('mouseover',aO.fListOnmouseover,{
oContext:aj.oGuessContainer
}).addEvent('mouseout',aO.fListOnmouseout,{
oContext:aj.oGuessContainer
}).addEvent('click',aO.fListOnclick,{
oContext:aj.oGuessContainer
});
},

cqO:function()
{
var ad=this;

var aO=aj;
aj.oClrSearchIco.addEvent('click',aO.fClrSearchContent,{
oContext:aj.oClrSearchIco});

},

cCa:function()
{
var ad=this;
an.$(aj.oTxtContent.data(0).parentNode).addClass('state_selected');
if(aj.oTxtContent.hasClass(aj.sGrayTxtContentClass))
{
aj.aRu=true;
}

if(aj.aRu===true)
{
aj.oTxtContent.rmClass(aj.sGrayTxtContentClass);
aj.aRu=false;

if(aj.bFocusDefault)
{
aj.sLabelSearch&&aj.oTxtContent.attr("value").length===0&&aj.oSuper.find(aj.sLabelSearch).show();
}
else
{
aj.oTxtContent.attr('value','');
}

}

aj.Vw=aj.oTxtContent.attr('value');
if(aj.aqM==null||!aj.aqM)
{

aj.aqM=setInterval(function(){
var bt=aj.oTxtContent.attr('value'),
ciR=aj.oTxtContent.hasClass(aj.sGrayTxtContentClass);
if(bt!=''&&!ciR)
{
aj.oClrSearchIco.css('display','block');
}
else
{
aj.oClrSearchIco.css('display','none');
}
if(bt!="")
{
aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).hide();
}
if(aj.Vw!=bt)
{
aj.Vw=bt;
aj.sLastValue=aj.Vw;
if(aj.Vw!='')
{
aj.fTxtContentOnChange.call(aj);
}
}
},200);
}

if(aj.bClearSelectGuessPosIndex===true)
{
ad.cjg();
}
},

cpV:function()
{

var ad=this;
an.$(aj.oTxtContent.data(0).parentNode).rmClass('state_selected');
if(aj.oTxtContent.attr('value')=='')
{
ad.bsJ();

aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).show();
}




var bC=aj.oGuessContainer.find('[un=searchitem]');

if(bC&&bC.size()>0)
{

if(aj.aFb&&aj.xz>-1)
{
aj.oTxtContent.attr('value',bC.data(aj.xz).innerHTML);
aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).hide();
}
else if(aj.NA>-1)
{
aj.oTxtContent.attr('value',bC.data(aj.NA).innerHTML);
aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).hide();
}
else if(aj.oTxtContent.attr('value')!='')
{
aj.oTxtContent.attr('value',bC.data(0).innerHTML);
aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).hide();
}
else
{

!aj.bFocusDefault&&aj.oTxtContent.attr('value',aj.sTxtContentDefault).addClass(aj.sGrayTxtContentClass);

aj.bFocusDefault&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).show();

}

}
aj.oGuessContainer.html('');
aj.oGuessContainer.css('display','none');
aj.aFb=false;
aj.xz==-1;
aj.NA=-1;

clearInterval(aj.aqM);
aj.aqM=null;
},

ccA:function(_aoEvent)
{
var ad=this,
cop=aj.oTxtContent;

if(typeof aj.bqj[_aoEvent.keyCode]!=='undefined')
{
aj.bqj[_aoEvent.keyCode](_aoEvent);
}
if(aj.bFocusDefault)
{
if(cop.attr("value").length===0)
{
aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).show();
}
else
{
aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).hide();
}
}
},

aFZ:function(parentNode,childNode)
{
var ad=this;

if(parentNode.contains){
return parentNode!=childNode&&parentNode.contains(childNode);
}else{
try{
return!!(parentNode.compareDocumentPosition(childNode)&16);
}catch(e){return false;}
}
},

boo:function(e,target)
{
var ad=this;

try{
if(e.type=="mouseover"){
return!ad.aFZ(target.parentNode,e.relatedTarget||e.fromElement)&&!((e.relatedTarget||e.fromElement)===target);
}else{
return!ad.aFZ(target.parentNode,e.relatedTarget||e.toElement)&&!((e.relatedTarget||e.toElement)===target);
}
}catch(e){
return false;
}
},

cwy:function(_aoEvent)
{
var ad=this;

var aK=_aoEvent.originalTarget||_aoEvent.srcElement;

aj.oTxtContent.delEvent('blur',aj.fTxtContentOnblur);





try
{
if(aK.parentNode)
{
var aHf=aK.parentNode.childNodes;
for(var i=0,l=aHf.length;i<l;i++)
{
if(aK===aHf[i])
{
aj.xz=i;
aj.fGuessHightLight(false);
break;
}
}
}
}
catch(e)
{
return false;
}


},

cml:function(_aoEvent)
{
var ad=this;

var aK=_aoEvent.originalTarget||_aoEvent.srcElement;


if(!ad.boo(_aoEvent,aK))
{
return false;
}

aj.oGuessContainer.find('[un=searchitem]').rmClass(aj.sGuessHightLightClass);
aj.oTxtContent.focus();
aj.oTxtContent.addEvent('blur',aj.fTxtContentOnblur,{
oContext:aj.oTxtContent
});
aj.xz=-1;
},

cqo:function(_aoEvent)
{
var ad=this;
aj.aFb=true;
var _oItem=aj.oGuessContainer.find('[un=searchitem]').data(aj.xz);
aj.bxl=_oItem.innerHTML;

aj.oTxtContent.focus();
ad.brk();
},

brk:function(_aoEvent)
{
var ad=this;


aj.oTxtContent.addEvent('blur',aj.fTxtContentOnblur,{
oContext:aj.oTxtContent
});

if(aj.oTxtContent.attr('value')==aj.Vw&&aj.Vw!='')
{
aj.Vw=aj.oTxtContent.attr('value');
aj.oTxtContent.blur();
}
else
{

aj.oTxtContent.delEvent('blur',aj.fTxtContentOnblur);
aj.oTxtContent.focus();
aj.oTxtContent.addEvent('blur',aj.fTxtContentOnblur,{
oContext:aj.oTxtContent
});
}

},

cAZ:function(_aoEvent)
{
var ad=this;

aj.xz--;
aj.NA--;
var _oItem=aj.oGuessContainer.find('[un=searchitem]').data();
if(aj.xz<0){

aj.xz=_oItem.length-1;
aj.NA=_oItem.length-1;
}
aj.NA=aj.xz;
aj.fGuessHightLight(true);
},

csT:function(_aoEvent)
{
var ad=this;

aj.xz++;
aj.NA++;
var _oItem=aj.oGuessContainer.find('[un=searchitem]');




if(aj.xz>=_oItem.size()){
aj.xz=0;
aj.NA=0;
}
aj.NA=aj.xz;
aj.fGuessHightLight(true);
},

cCr:function(crm)
{
var ad=this;

var _oItem=aj.oGuessContainer.find('[un=searchitem]').rmClass(aj.sGuessHightLightClass).data(aj.xz);
an.Q(_oItem).addClass(aj.sGuessHightLightClass);
if(_oItem&&crm)
{
if(aj.bTipChangeShow===true)
{
aj.Vw=_oItem.innerHTML;
aj.oTxtContent.attr('value',_oItem.innerHTML);
aj.bxl=_oItem.innerHTML;
}
}
},

cjg:function()
{
aj.xz=-1;
},


bsJ:function()
{
var ad=this;
if(aj.oTxtContent.attr('value')==''&&aj.oGuessContainer.css('display')=='none')
{

!aj.bFocusDefault&&aj.oTxtContent.addClass(aj.sGrayTxtContentClass).attr('value',aj.sTxtContentDefault);
aj.aRu=true;
aj.oClrSearchIco.css('display','none');
}
else
{
aj.oClrSearchIco.css('display','block');
}

},

crn:function()
{
var ad=this;
aj.oClrSearchIco.css('display','none');;
!aj.bFocusDefault&&aj.oTxtContent.addClass(aj.sGrayTxtContentClass).attr('value',aj.sTxtContentDefault);
aj.oGuessContainer.html('');
aj.oGuessContainer.css('display','none');
aj.aFb=false;
aj.xz==-1;
aj.NA=-1;
aj.bFocusDefault&&aj.oTxtContent.addClass(aj.sGrayTxtContentClass).attr('value',"")&&aj.sLabelSearch&&aj.oSuper.find(aj.sLabelSearch).show();
},

csQ:function()
{
var ad=this;
aj.oTxtContent=(aj.oTxtContent)?aj.oTxtContent:an.Q('#'+aj.sTxtContentId);

aj.oGuessContainer=(aj.oGuessContainer)?aj.oGuessContainer:an.Q('#'+aj.sGuessContainerId);
aj.oClrSearchIco=(aj.oClrSearchIco)?aj.oClrSearchIco:an.Q('#'+aj.sClrSearchIcoId);

aj.bqj={
'13':ad.brk,
'38':ad.cAZ,
'40':ad.csT 
};
aj.bxl='';
aj.xz=-1;
aj.aFb=false;
aj.NA=-1;

ad.cvc();
ad.coB();
ad.cqO();

ad.bsJ();

aj.oGuessContainer.html('');
aj.oGuessContainer.css('display','none');
},

searchtip:function(aO)
{
var ad=this;

var aY=
{
sTxtContentId:'TxtContent',
sGuessContainerId:'divPosList',
sClrSearchIcoId:'ico_clrSearch',

fTxtContentOnfocus:ad.cCa,
fTxtContentOnblur:ad.cpV,
fTxtContentOnkeyup:ad.ccA,

fListOnmouseover:ad.cwy,
fListOnmouseout:ad.cml,
fListOnclick:ad.cqo,

fClrSearchContent:ad.crn,

bTipChangeShow:true,
bClearSelectGuessPosIndex:false,


sGrayTxtContentClass:'graytext',
sGuessHightLightClass:'menu_item_hover',

sTxtContentDefault:'\u8bf7\u8f93\u5165\u5730\u5740\u4fe1\u606f',

nGuessSize:10,
fGuessHightLight:ad.cCr,

fTxtContentOnChange:function(){},

bFocusDefault:false
};

for(var obj in aY)
{
if(typeof aO[obj]==='undefined')
{
aO[obj]=aY[obj];
}
}

clearInterval(aj.aqM);
aj=aO;

ad.csQ();
}
}
}
)());
}


);


$.package(


"bottle/ctrl/pick.js",


[

],


function(ay)
{

var $=ay,
al=QMWin;


































al.createCtrl(

"PLP.Pick",

{sSuper:'PLP.Frame'},
function(av)
{
var au=al.lib('PLP.Data'),
aJ=al.lib('PLP.Template'),
aD=al.lib('PLP.Util'),
dw='PLP.Tip',
aYn=[
"salvage_fish.png",
"salvage_crab.png",
"salvage_starfish.png"
],
bPx=[
"\u4e00\u6761\u5c0f\u9c7c",
"\u4e00\u53ea\u5927\u8783\u87f9",
"\u4e00\u53ea\u6d77\u661f"
],
dtW=[
"ico_fish",
"ico_carb",
"ico_seastar"
],
dIu=[
"salvage_botter.png",
"salvage_near.png",
"salvage_photo.png"
];


return(
{
ahH:function()
{
var Iz=au.get('PLP.DCGeneral',
{type:'picking'}
);
return Iz;
},



beh:function()
{






var ad=this,

kk=418,

zE=40,
mw=266,
mF=166,
aGP=-20,
aaD=0.2,


cL=kk,

zP=zE,
Cz=aaD,

$=this.$;
$.$('#btlmask').show();

var apk=$.$('#bottle_fetch').css({height:480,overflow:"hidden"}),
KP=$.$('#salvage').hide(),
dcF=$.$('#salvage').hide(),
akv=$.$('#salvage_net').show(),
asd=$.$('#drip').hide(),
Tf=$.$('#salvage_image').hide();

function bQo()
{
setTimeout(function()
{





$.$('#btlmask').hide();
ad.SA=false;
if(ad.vP>=0)
{

ad.createCtrl(dw,{},{




click:function(_aoEvent,ah,ao)
{
var aG=$.$(ah),
aF=aG.attr('name');

switch(aF)
{
case'read':
this.destroy();

if(ad.Ov==9)
{
ad.destroy(false,'PLP.InteractiveMail',{
mailid:ad.HI
});
}
else
{
ad.destroy(false,'PLP.Mail',{
mailid:ad.HI
});


ad.$.$("#bottle_paperlist").attr('isshow','false');
}
break;
case'send':
this.destroy();
ad.destroy('PLP.WineCooler');
$.$("#toolbar a[act=WineCooler]").fireEvent('click');
break;
case'wine':
this.destroy();

switch(aG.attr('magicid'))
{



case'2':
ad.destroy(true,'PLP.PictureCompose',{magicid:2});
break;



default:
ad.destroy(true,'PLP.Compose',{magicid:aG.attr('magicid')});
break;
}
break;
case'del':
this.destroy();
ad.destroy(false,'PLP.Mail',{
mailid:ad.HI,
magicid:ad.Ov,
action:'del'
});
break;
case'cls':
this.destroy();
ad.destroy(true);
break;
}
}
}).showPlain(
aJ.get('fetchsuc').replace({
mailid:ad.HI,
magicid:ad.Ov,
name:ad.aBz
}),
{
plaintype:ad.Ov,
delay:6000,
beforeHide:function()
{

ad.SA=false;
ad.destroy(true);

var cb=ad.createCtrl(dw,{},{
click:function(_aoEvent,ah,ao)
{
var aG=$.$(ah),
aF=aG.attr('name');



switch(aF)
{
case'read':
aD.hideAll();


if(ad.Ov==9)
{
ad.createCtrl('PLP.InteractiveMail',
{
mailid:ad.HI
},
{
close:function(cA,at)
{

}
}
);
}
else
{

ad.createCtrl('PLP.Mail',
{
mailid:ad.HI
},
{
close:function(cA,at)
{

}
}
);


ad.$.$("#bottle_paperlist").attr('isshow','false');
}

ad.$.$('#weaktip').hide();
break;
default:
break;
}
}
});
cb.showOldInfo(aJ.get('fetchsuc').replace({
mailid:ad.HI,
magicid:ad.Ov,
name:ad.aBz
}),{
delay:-1
});
}
}
);
}
else
{
var aau=ad.ahH(),
aC=au.get("PLP.DCGeneral",{type:"attr"}),
gL=(aC&&aC.point)||0,
aXA,lF,cb;

if(ad.bqc)
{

var
dO=ad.aXA,
lF=dO.action;
apk.hide();
cb=ad.createCtrl(dw,{},{
click:function(_aoEvent,ah,ao)
{
var aK=_aoEvent.originalTarget||_aoEvent.srcElement;
oX=aK.getAttribute("ck"),
ekd=[],
mc=[],
yO="";
if(oX==="send")
{
cb.destroy();
if(lF==="loc")
{
ad.destroy(false,"PLP.Compose",{
magicid:16,
sAddress:[dO['region'],dO['address'],dO["lat"]].join(",")
});
}
else if(lF==="contact")
{
ad.destroy(false,"PLP.Compose.PreContact");
}
}
else if(oX==="cls")
{
cb.destroy();
window.paperlist.show();
}
}
});
cb.showPlain(aJ.get("pointpickerr").replace(),
{
delay:-1,
beforeHide:function()
{
cb.destroy();
window.paperlist.show();
}
});
}

else if(aau>0)
{
ad.createCtrl(dw,{},{
click:function(_aoEvent,ah,ao)
{
var aF=al.$(ah).attr('name');
if(aF=='cls')
{
this.destroy();
ad.SA=false;
ad.destroy(true);

al.ossLog("delay","all","stat=plp&1=10019");

var aeX=ad.createCtrl(dw,{},{

});
aeX.showOldInfo(aJ.get('savagetip').replace({
magicid:al.$(ah).attr('magicid')
}),{});


}
else if(aF=='rty')
{
this.destroy();

ad.aEp();
}
}
}
).showPlain(aJ.get('fetcherr').replace(
{
name:bPx[-ad.vP-1],
magicid:ad.vP,
fnum:ad.ahH()
}
),
{
plaintype:'_'+(ad.vP*-1),
delay:-1,
beforeHide:function()
{
ad.SA=false;
ad.destroy(true);

}
}
);
}

else
{
apk.hide();
aD.showHistoryOrChg(ad,{pick:true});
}
}





ad.vP=-99;
ad.bcP();
},1000
);
}

function bob()
{
KP.css({
top:kk,
right:zE,
width:aaD*mw,
height:aaD*mF
}).show();



aD.rotate({
dom:akv.data(),
width:0,
height:0,
left:0,
top:0
},aGP,1);
}


function aJX()
{
var aHl=cL;
KP.show();
Tf.show();

al.animate(null,{
vDuration:600,
sEasing:'Linear',
onstep:function(eC,BN)
{

var k=1-eC;
aHl=cL*k;

Cz=1;
KP.css({
top:aHl,
right:zP
});
Tf.css("top",k*k*90-42);

aD.rotate({
dom:akv.data(),
width:0,
height:0,
left:0,
top:0
},60*k*k,1);

},
oncomplete:function()
{
akv.css("filter","none");
}














});
setTimeout(bOK,300);
}

function bOK()
{
var cL=parseInt(asd.css('top'),10);
apk.css("overflow","visible");


al.animate(null,{
vDuration:300,
sEasing:'Linear',
onstep:function(eC,BN)
{
asd.css('display','block');
asd.css('top',(cL+70*eC)+'px');
},
oncomplete:function()
{
KP.data(0).style.filter="none";
asd.css({
height:206,
top:-34,
display:"none"
});
bQo();
}
});


}

function aHF()
{

al.animate(null,{
vDuration:1000,
sEasing:'Linear',
onstep:function(eC,BN)
{
var bjr=zP-(eC<0.5?eC:1-eC)*150;
KP.css('right',bjr);
},
oncomplete:function()
{


if(ad.vP==-99)
{

al.setTimeout(function()
{
aHF();
},500
);
}
else
{
var aSs=Tf.data(),
IS=[
al.path("img"),
"bottle/magic/",
ad.vP<0?'salvage_'+(ad.vP*-1)+'.png':'salvage'+(ad.vP==3?0:ad.vP)+'.png'
].join("");

if(Tf.data().src.indexOf(IS)>-1)
{
aJX();
}
else
{

aSs.onload=function(){
aJX();
};
aSs.onerror=function(){
Tf.data().src=[
al.path("img"),
"bottle/magic/salvage_1.png"
].join("");
};
Tf.data().src=IS;
}


}
}
});
}

function bmV()
{
al.animate(null,{
vDuration:1000,
sEasing:'Linear',

onstep:function(eC,BN)
{
if(eC<0.8)
{

var k=1-eC;
cL=kk*k*k;
Cz=aaD+eC;
}
else
{
apk.css('height',180);

var k=eC-0.6;
Cz=1;
cL=kk*k*k*(al.isBrowser("ie")?1:(eC/0.4-1));
}
zP=zE*(1+eC*eC);

KP.css({
top:cL,
right:zP,
width:Cz*mw,
height:Cz*mF
});


aD.rotate({
dom:akv.data(),
width:0,
height:0,
left:0,
top:0
},aGP+80*eC,1);
},
oncomplete:aHF
});
}
bob();
bmV();

},














show:function()
{
var ad=this,
IS=[],
TV=aD.request('plpfrom'),
aau=ad.ahH();

if(aau==0)
{

aD.showHistoryOrChg(ad,{pick:true});
return ad;
}





IS=[
al.path("img"),
"bottle/magic/",
ad.bLu
].join("");
ad.aj.oDom.html(aJ.get('fetch').replace({'salvage':IS}));


ad.$.$('#bottle_paperlist').attr("isshow",'false');

return ad.superEx_(av,"show").aEp();
},

destroy:function(fj,cA,at)
{
var ad=this;


if(fj===true&&ad.SA===false)
{
ad.$.$("#bottle_paperlist").attr('isshow','true').css('display','block').rmClass('opacity1');

ad.aj.paperlist.show();
}

return ad.superEx_(av,"destroy",[cA,at]);
},

aEp:function()
{
var ad=this;






var Qo=ad.$.$('#bottle_favour a[ck=togglefold]');

if(Qo.size()>0&&Qo.attr('act')=='min')
{
Qo.fireEvent('click');
}











au.post('PLP.DCGeneral',
{
type:'pick',
attr:(ad.aj.attr)?ad.aj.attr:null
},
{
oncomplete:function(cC,aT)
{








ad.bqc=false;
if(aT&&aT.magicid>=0)
{
ad.vP=Number(aT.magicid);







ad.Ov=aT.magicid;
ad.HI=aT.mailid;
ad.aBz=aT.name;
}
else
{

if(aD.request("test")==="")
{
ad.vP=-1*ad.aAd-1;
}
else
{
ad.vP=aT.magicid;
}


if(aT&&aT.action)
{
var lF=aT.action;
}
else if(ad.aj.attr&&ad.aj.attr.action)
{
var lF=ad.aj.attr.action;
}

if(lF==="contact"||lF==="loc")
{
ad.bqc=true;
ad.aXA=cC.attr;
ad.aXA['action']=lF;
}
}
}
}
);
ad.beh();
},




Mc:function(uY)
{
ad=this;
var gL=parseInt(uY,10);


var zR=ad.$.$("div#toolbar a.ico_position");
if(gL>=0)
{
zR.css('display','block');
}
else
{
zR.css('display','none');
}
},


buG:function(_aoDom,bP)
{
var ad=this,
ak=ad.$.$(_aoDom),
nN=ak.find("p[value="+bP+"]");
ak.data(0).scrollTop=(nN.data(0)&&nN.data(0).offsetTop-30)||0;
nN.addClass("menu_item_hover");
},

bcP:function()
{
var ad=this,
IS="salvage_fish.png";

ad.aAd=Math.floor(aYn.length*Math.random());

if(typeof aYn[ad.aAd]!='undefined')
{

IS='salvage_'+(ad.aAd+1)+'.png';
}
ad.bLu=IS;
},








init_:function(ap)
{

var ad=this;
if(!ap||!ap.oDom)
{
ap=ap||{};
ap.oDom=al.$('#bottle_fetch');
}
ad.aj=ap;
ad.superEx_(av,"init_",[ap]);

ad.vP=-99;
ad.bcP();
ad.Ov=0;
ad.HI="";
ad.aBz="";
ad.SA=true;






ad.show();
}
}
);
}
);


}


);


window.gtime[5]=window.scriptTiming('bottleafterscript');
